package com.parfinex.java.phase1.module2.code.communicate;

/**
 * @Author: Li Jiahui
 * @Date: 2020/10/18 22:50
 * @Version 1.0
 * 编程实现手机卡的枚举类型
 */
public enum  PhoneCardEnum {

    BIG("大卡"),SMART("小卡"),MICRO("微卡");
    //1.自定义私有化成员常量desc
    private final String desc;

    //3.构造方法
   PhoneCardEnum(String desc) {
        this.desc = desc;
    }
    //2.提供公有的get和set方法
    public String getDesc() {
        return desc;
    }

}
